{% extends 'ApiCloud/Base/layout.common.html.twig' %}

{% block body %}
    {% include "ApiCloud/Base/inc.head.light.html.twig" with {title:"送审信息",back:1} %}
    <div class="fs10 pad5">
        <mu-form ref="form" :model="en"  label-position="top" label-width="200">
            <mu-form-item label="分组" :rules="[rules.notNull]" prop="category">
                <mu-select v-model="en.category" full-width>
                    <mu-option v-for="option in cat"
                               :key="option.id" :label="option.name" :value="option.id"></mu-option>
                </mu-select>
            </mu-form-item>
            <mu-form-item label="名称" :rules="[rules.notNull]" prop="name">
                    <mu-text-field v-model="en.name"  full-width></mu-text-field>
            </mu-form-item>
            <mu-form-item label="金额" :rules="[rules.notNull]" prop="money">
                    <mu-text-field type="number" v-model="en.money"  full-width></mu-text-field>
            </mu-form-item>
            <mu-form-item label="备注" :rules="[rules.notNull]" prop="other">
                    <mu-text-field v-model="en.other"  multi-line :rows="3" :rows-max="6"  full-width></mu-text-field>
            </mu-form-item>
            <div class="fs8 c11 pad5 mart20">
                <mu-button large full-width round color="primary" @click="submit()">保存提交</mu-button>
            </div>
        </mu-form>

    </div>
{% endblock %}
